import layout from '@/layout'
export default {
  path: '/employee',
  component: layout,
  children: [{
    path: '',
    name: 'employee',
    component: () => import('@/views/employee'),
    meta: {
      title: '员工',
      icon: 'people'
    }
  },

  {
    path: '/employee/detail/:id',
    name: 'employee-detail',
    component: () => import('@/views/employee/detail.vue'),
    // 详情请页面不需要在页面中展示
    hidden: true
    // meta: {
    //   title: '员工',
    //   icon: 'people'
    // }
  }

  ]
}
